package com.ymatou.iapi.address.service;

import java.util.ArrayList;
import java.util.List;

import org.json.JSONObject;

import com.ymt.base.YmatouBaseCall;
import com.ymt.core.tool.FormatUtil;
import com.ymttest.utils.EnvSetup;

/**
 * 查看邮编Call FreeMaker Template自动生成代码
 */
public class PostCodeCall extends YmatouBaseCall {
	private static String opurl = "postcode";

	public PostCodeCall() {
		super(EnvSetup.getSystemUrl("address"), opurl, "POST", "JSON");
	}

	@Override
	public void addDefHeader() {
		client.addHeader("Accept", "text/xml,text/javascript,text/html,application/json");
		client.addHeader("Content-Type", "application/json; charset=UTF-8");
	}
}